using System;
using System.Collections.Generic;
using System.Text;
using DOMercury.Interfaces;

namespace DOMercury.Items
{
    /// <summary>
    /// Represents the window that was the foreground window right before DOMercury is invoked
    /// </summary>
    public class CurrentWindowItem : IItem, IComparable 
    {
        #region IItem Members

        public string DisplayName
        {
            get { return "Current Window"; }
        }

        public string ItemType
        {
            get { return "current window"; }
        }

        public string DisplayDesc
        {
            get { return "The Current Foreground Window"; }
        }

        #endregion

        #region IComparable Members

        public int CompareTo(object obj)
        {
            return this.DisplayName.CompareTo(((IItem)obj).DisplayName);
        }

        #endregion
    }
}
